﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Csla;
using log4net;

namespace Sireass.Bl
{
	[Serializable]
	public class PerfilUsuarioCriteria : CriteriaBase<PerfilUsuarioCriteria>
	{
		public static PropertyInfo<long> IdUsuarioProperty = RegisterProperty<long>(c => c.IdUsuario);
		public long IdUsuario
		{
			get { return ReadProperty(IdUsuarioProperty); }
			private set { LoadProperty(IdUsuarioProperty, value); }
		}
		
		public static PropertyInfo<bool> DummyProperty = RegisterProperty<bool>(c => c.Dummy);
		public bool Dummy 
		{
			get { return ReadProperty(DummyProperty); }
			private set { LoadProperty(DummyProperty, value); } 
		}
		public PerfilUsuarioCriteria(long idUsuario, bool dummy)
		{
			IdUsuario = idUsuario;
			Dummy = dummy;
		}
	}
}
